package com.aspose.cells;

public class TableStyle {
   private String a;
   private TableStyleCollection b;
   private TableStyleElementCollection c;
   private boolean d = true;
   private boolean e = true;

   TableStyleCollection a() {
      return this.b;
   }

   TableStyle(TableStyleCollection styles, String name) {
      this.a = name;
      this.b = styles;
      this.c = new TableStyleElementCollection(this);
   }

   void a(TableStyle var1) {
      this.a = var1.a;
      this.d = var1.d;
      this.e = var1.e;
      this.c = new TableStyleElementCollection(this);
      this.c.a(var1.c);
   }

   public String getName() {
      return this.a;
   }

   public TableStyleElementCollection getTableStyleElements() {
      return this.c;
   }

   void a(TableStyleElementCollection var1) {
      this.c = var1;
   }

   boolean b() {
      return this.d;
   }

   void a(boolean var1) {
      this.d = var1;
   }

   boolean c() {
      return this.e;
   }

   void b(boolean var1) {
      this.e = var1;
   }

   void a(int var1, int var2, Style var3) {
      if (this.c == null) {
         this.c = new TableStyleElementCollection(this);
      }

      TableStyleElement var4 = new TableStyleElement(this.c, var1);
      var4.setSize(var2);
      var4.a(var3);
      this.c.a(var4);
   }
}
